<div class="top-bar">
  @if (selected()) {
    <span class="main-text">
      @if (isNew()) {
        Creating new {{ selectedText() }}
      } @else {
        Editing {{ selectedText() }}
      }
    </span>
  }
</div>
